﻿using MyDAL.DAL.Dto.SystemDto;
using MyMiddleware;
/*------------------------------------------------------------
 * Copyright 2005-2016 My Tech. Co. Ltd. All Rights Reserved.
 * 版权所有。
 * 
 * 文件名：StaticParameters.cs
 * 文件功能描述：全局静态变量，用来存储一些常用的全局变量可以提前加载
 * 
 * 
 * 创建标识：wx 2016-06-12
 * 
 * 修改标识：
 * 修改描述：
 * 
 * -----------------------------------------------------------*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyBLL
{
    public static class StaticParameters
    {
        //硬件中间件工厂
        static IDeviceFactory myDeviceFactory = new DeviceFactory();

        public static IDeviceFactory MyDeviceFactory
        {
            get { return myDeviceFactory; }
            set { myDeviceFactory = value; }
        }

        static ShowParameterDto parameterDto = null;

        public static ShowParameterDto ParameterDto
        {
            get { return StaticParameters.parameterDto; }
            set { StaticParameters.parameterDto = value; }
        }
    }
}
